class CreateInfos < ActiveRecord::Migration
  def self.up
    create_table :infos do |t|
      t.string :title,
        :email_title
      t.text :content,
        :email_content,
        :sm_content
      t.integer :tool_id
      t.integer :emails_count, :default => 0
      t.integer :sms_count, :default => 0
      t.timestamps
    end
  end

  def self.down
    drop_table :infos
  end
end
